<%  #endcoding:utf-8%>
<div class="panel">
  <div class="panel-heading">
    <p class="title"><span class="glyphicon glyphicon-question-sign"></span><%=@question.title%></p>
  </div>
  <div class="panel-body">
    <%=@question.content.html_safe%>
    <p class="text-right">
      <a href="/usercard/<%=@question.user_id%>">
        <%=getname(@question.user_id)%> . <%=avatar User.find(@question.user_id),'img-cirle img-normal'%>
      </a>
    </p>
  </div>
  <div class="panel-footer"><span class="timeago"><%=time_ago_in_words(@question.created_at)%>以前.阅读(<%=@question.read_num%>)</span>
  </div>
</div>